
function 

var cards = action.cards;

for(index in cards) {
    println("value " + cards[index].value + " suit " + cards[index].suit);
}